@import url("./varible.css");
@import "animate.css";
@import url("tailwindcss/base");
@import url("tailwindcss/components");
@import url("tailwindcss/utilities");
@import "element-plus/dist/index.css";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-weight: normal;
    letter-spacing: 1px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

html {
    font-size: 16px;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background: var(--color-bg);
    height: 100%;
    text-rendering: optimizeLegibility;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100%; /* 至少填充整个视口高度 */
}

.maxWidth1400 {
    /* max-width: 1270px; */
    margin: 0 auto;
    width: 80%;
}
.el-icon {
    transition: all 0.3s ease-in;
    &:hover {
        color: var(--color-primary);
    }
}

li,
ol {
    list-style: none;
}

a {
    display: inline-block;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.4s ease-in-out;
    cursor: pointer;
}
img {
    max-width: 100%;
    display: block;
    transition: all 0.4s ease-in-out;
}
.text-clamp2 {
    max-height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-clamp: 2;
    -webkit-line-clamp: 2;
}
.more-button {
    width: 135px;
    height: 35px;
    line-height: 35px;
    font-size: 14px;
    border-radius: 17px;
    background: #0058ce;
    color: #fff;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    &:hover {
        box-shadow: 0 4px 16px 0 rgba(0, 88, 206, 0.3);
    }
}
@media (hover: hover) {
    a:hover {
        color: var(--color-text-2);
    }
}

@media screen and (width >= 1920px) {
    .maxWidth1400 {
        width: 1400px;
        max-width: none;
    }
}

@media screen and (max-width: 1200px) {
    html {
        font-size: 14px;
    }
}
